package com.zkc.stume.dao;

import com.zkc.stume.bean.Dat;
import com.zkc.stume.bean.DatExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface DatMapper {
    long countByExample(DatExample example);

    int deleteByExample(DatExample example);

    int deleteByPrimaryKey(Integer mid);

    int insert(Dat record);

    int insertSelective(Dat record);

    List<Dat> selectByExampleWithBLOBs(DatExample example);
    /*curd 查*/
    List<Dat> selectByExampleWithBLOBss(DatExample example);

    List<Dat> selectByExample(DatExample example);

    Dat selectByPrimaryKey(Integer mid);

    int updateByExampleSelective(@Param("record") Dat record, @Param("example") DatExample example);

    int updateByExampleWithBLOBs(@Param("record") Dat record, @Param("example") DatExample example);

    int updateByExample(@Param("record") Dat record, @Param("example") DatExample example);

    int updateByPrimaryKeySelective(Dat record);

    int updateByPrimaryKeyWithBLOBs(Dat record);

    int updateByPrimaryKey(Dat record);
}